home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / lang / Python16.lha / Python-1.6 / Lib / Python1.6 / test / test_winsound.py < prev    next >
Encoding:
Text File  |  2000-04-24  |  203 b   |  8 lines

  1. # Ridiculously simple test of the winsound module for Windows.
  2.  
  3. import winsound
  4. for i in range(100, 2000, 100):
  5.     winsound.Beep(i, 75)
  6. print "Hopefully you heard some sounds increasing in frequency!"
  7.  
  8.